package org.ru.mse10.cvis.entity.util;

/**
 * The Enum CustomFieldValueProviderType.
 */
public enum CustomFieldValueProviderType {

	/** The static list. */
	STATIC_LIST("Static List"), /** The ws. */
	WS("Web Service"), /** The cl. */
	CL("Codelist");

	/**
	 * Instantiates a new custom field value provider type.
	 * 
	 * @param label
	 *            the label
	 */
	private CustomFieldValueProviderType(String label) {
		this.label = label;
	}

	/** The label. */
	private String label;

	/**
	 * Gets the label.
	 * 
	 * @return the label
	 */
	public String getLabel() {
		return label;
	}

	/**
	 * Gets the default.
	 * 
	 * @return the default
	 */
	public static CustomFieldValueProviderType getDefault() {
		return STATIC_LIST;
	}
}
